-- GENERATED SPELL FOR [J.D. Collie] --


function spell0_9117(pUnit, Event) --7Create Pylon User\'s Manual,n/a--
pUnit:FullCastSpellOnTarget(15211,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9117', 583, 1)
end

function Sorts_9117(pUnit, Event)
local choix_sorts_9117 = math.random(0, 0)
if choix_sorts_9117 == 0 then
pUnit:RegisterEvent('spell0_9117', 1, 1)
end
end

function mob9117_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9117', math.random(1500, 3000), 1)
end

function mob9117_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9117_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9117_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9117, 1, 'mob9117_Action')
RegisterUnitEvent(9117, 2, 'mob9117_Leave')
RegisterUnitEvent(9117, 3, 'mob9117_Kill')
RegisterUnitEvent(9117, 4, 'mob9117_Die')
